package com.zhentao.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.dto.FilesDto;
import com.zhentao.files.TbFiles;
import com.zhentao.files.param.FilesParam;
import com.zhentao.utils.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 86177
* @description 针对表【tb_files】的数据库操作Service
* @createDate 2024-12-05 14:02:06
*/
public interface TbFilesService extends IService<TbFiles> {

    ResponseResult select(FilesDto fileDto);

    ResponseResult updateFile(TbFiles tbFiles);

    //上架
    ResponseResult shang(Long id);
    ResponseResult xiajiaa(Long id);

    ResponseResult shanchur(Integer id);

    ResponseResult gongkai(FilesDto fileDto);

    ResponseResult uploadFiles(FilesParam param);

    ResponseResult uploadImage(MultipartFile file);
}

